import { http } from '@/server'
import type { CertificateResult, SearchForm } from './interface'

export const fetchCertificates = (
    params: SearchForm & {
        is_mobile: number
    },
) => http.get<CertificateResult>('/certificate', { params })
